//
//  YCClientIdConstants.m
//  Pods
//
//  Created by Apple on 2024/9/20.
//

#import "YCClientIdConstants.h"

@implementation YCClientIdConstants

NSString * const YCClientIdConstant_Carowner = @"yc-application-carowner";    // 车主
NSString * const YCClientIdConstant_Repairing = @"yc-application-merchant";    // 汽修
NSString * const YCClientIdConstant_NewCar = @"yc-application-merchant-newcar";  // 新车
NSString * const YCClientIdConstant_UsedCar = @"yc-application-merchant-usedcar"; // 二手车
NSString * const YCClientIdConstant_Accessory = @"yc-application-merchant-parts"; // 汽配
NSString * const YCClientIdConstant_Factory = @"yc-application-merchant-factory"; // 工厂
NSString * const YCClientIdConstant_Personal = @"yc-application-merchant-personal"; // 上门服务商家端（小二）
NSString * const YCClientIdConstant_Provider = @"yc-application-service-provider";  // 上门服务商端
NSString * const YCClientIdConstant_Gas = @"yc-application-merchant-gas";  // 加油
NSString * const YCClientIdConstant_MerchantMoto = @"yc-application-merchant-moto"; // 摩电商家端
NSString * const YCClientIdConstant_Auction = @"yc-application-merchant-auction"; // 拍卖
NSString * const YCClientIdConstant_Rentalcar = @"yc-application-merchant-rentalcar"; // 租车
NSString * const YCClientIdConstant_Trailer = @"yc-application-merchant-trailer"; // 托运
NSString * const YCClientIdConstant_ServiceMoto = @"yc-application-service-moto"; // 摩电服务商端
NSString * const YCClientIdConstant_Operation = @"yc-application-operation"; // CRM （销售）
NSString * const YCClientIdConstant_DrivingSchool = @"yc-application-driving-school"; // 驾校
NSString * const YCClientIdConstant_Insurance = @"yc-application-merchant-ins"; // 保险


NSString *const YRYC_SERVICEMERCHANT = @"com.yryc.onecar.servicemerchant";
NSString *const YRYC_ONECAR = @"com.yiche.onecar";
NSString *const YRYC_ONESTORE = @"com.yiche.onecar.onestore";
NSString *const YRYC_PERSONAl = @"com.yryc.onecar.personal";
NSString *const YRYC_USEDCAR = @"com.yryc.onecar.usedcar";
NSString *const YRYC_GAS = @"com.yryc.onecar.gas";
NSString *const YRYC_ENERGY = @"com.yryc.onecar.energy";
NSString *const YRYC_CONSIGNMENT = @"com.yryc.onecar.consignment";
NSString *const YRYC_NEWCAR = @"com.yryc.onecar.newcar";
NSString *const YRYC_FACTORY = @"com.yryc.onecar.factory";
NSString *const YRYC_ACCESSORY = @"com.yryc.onecar.accessory";
NSString *const YRYC_RENTAL = @"com.yryc.onecar.rental";
NSString *const YRYC_DRIVINGSCHOOL = @"com.yryc.onecar.drivingschool";
NSString *const YRYC_MOTOSERVICEMERCHANT = @"com.yryc.onecar.motoservicemerchant";
NSString *const YRYC_ONESALE = @"com.yryc.onecar.sale";
NSString *const YRYC_ACTION = @"com.yryc.onecar.auction";
NSString *const YRYC_INSURANCE = @"com.yryc.onecar.insurance";

+ (NSString *)changeClientIdToBundleId:(NSString *)clinetId {
    if ([clinetId isEqualToString:YCClientIdConstant_Carowner]) {
        return YRYC_ONECAR;
    } else if ([clinetId isEqualToString:YCClientIdConstant_Repairing]) {
        return YRYC_ONESTORE;
    } else if ([clinetId isEqualToString:YCClientIdConstant_NewCar]) {
        return YRYC_NEWCAR;
    } else if ([clinetId isEqualToString:YCClientIdConstant_UsedCar]) {
        return YRYC_USEDCAR;
    } else if ([clinetId isEqualToString:YCClientIdConstant_Accessory]) {
        return YRYC_ACCESSORY;
    } else if ([clinetId isEqualToString:YCClientIdConstant_Factory]) {
        return YRYC_FACTORY;
    } else if ([clinetId isEqualToString:YCClientIdConstant_Personal]) {
        return YRYC_PERSONAl;
    } else if ([clinetId isEqualToString:YCClientIdConstant_Provider]) {
        return YRYC_SERVICEMERCHANT;
    } else if ([clinetId isEqualToString:YCClientIdConstant_Gas]) {
        return YRYC_GAS;
    } else if ([clinetId isEqualToString:YCClientIdConstant_MerchantMoto]) {
        return YRYC_ENERGY;
    } else if ([clinetId isEqualToString:YCClientIdConstant_Auction]) {
        return YRYC_ACTION;
    } else if ([clinetId isEqualToString:YCClientIdConstant_Rentalcar]) {
        return YRYC_RENTAL;
    } else if ([clinetId isEqualToString:YCClientIdConstant_Trailer]) {
        return YRYC_CONSIGNMENT;
    } else if ([clinetId isEqualToString:YCClientIdConstant_ServiceMoto]) {
        return YRYC_MOTOSERVICEMERCHANT;
    } else if ([clinetId isEqualToString:YCClientIdConstant_Operation]) {
        return YRYC_ONESALE;
    } else if ([clinetId isEqualToString:YCClientIdConstant_DrivingSchool]) {
        return YRYC_DRIVINGSCHOOL;
    } else if ([clinetId isEqualToString:YCClientIdConstant_Insurance]) {
        return YRYC_INSURANCE;
    }
    return @"";
}

@end
